package structure.array.test;

import structure.array.basic.DynamicArray;
import structure.array.basic.Person;

/**
 * Author Name: Justice
 * Project Name: structure
 * File Name: Main
 * Package Name: com.array
 * Date: 2020-05-16 22:07
 * Copyright (c) 2020,All Rights Reserved.
 */


public class Main {
    public static void main(String[] args) {
        DynamicArray<Person> list = new DynamicArray<Person>(5);
        list.add(new Person(3, "Alfred"));
        list.add(new Person(4, "Bob"));
        System.out.println(list);

        // list.clear();
        // int i = list.size();
        // boolean b = list.isEmpty();
        // boolean b = list.contains(3);
        // Asserts.test(list.indexOf(41) == 3);
    }
}
